package com.zzyl.serve.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.domain.NursingTask;
import com.zzyl.nursing.dto.CancelTaskDto;
import com.zzyl.nursing.dto.ExecuteTaskDto;
import com.zzyl.nursing.dto.UpdateTaskTimeDto;
import com.zzyl.nursing.vo.NursingTaskByIdVo;
import com.zzyl.serve.domain.NursingTaskDto;
import com.zzyl.serve.domain.NursingTaskVo;

import java.util.List;

/**
 * TODO
 *
 * @Date 2025/10/29 16:17
 */

public interface INursingFvkService extends IService<NursingTask> {
    /**
     * 2.2.1 查询护理任务列表
     * @param dto
     * @return
     */
//    List<NursingTask> getNursingFvkTableData(QueryNursingTaskfvkDto dto);

    /**
     * 根据id查询详细信息
     * @param id
     * @return
     */
    NursingTaskByIdVo getDetailDataById(Integer id);

    /**
     * 取消任务
     * @param dto
     */
    void cancelTaskById(CancelTaskDto dto);

    /**
     * 任务执行
     * @param dto
     */
    void executeTask(ExecuteTaskDto dto);

    /**
     * 任务该时间
     * @param dto
     */
    void updateTaskTime(UpdateTaskTimeDto dto);

    List<NursingTaskVo> selectNursingTaskList(NursingTaskDto dto);
}
